package com.foreveross.mofang.datapersistence.application.vo;

import java.io.Serializable;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 
 * @author fb
 */
public abstract class BaseVo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2299265844781008362L;
	
	private Long id;
	
	public BaseVo() {
		super();
	}
	
	public BaseVo(Long id) {
		super();
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
